<?php
$name = $_POST["name"];
$laber = $_POST["laber"];
$price = $_POST['price'];

if (strlen($name)>=6 && strlen($name)<=90){
    echo trim($name);
}else{
    echo  "商品名长度2 ~ 30个字";
    }

echo "<br>";

if (strlen($laber)>=6 && strlen($laber)<=90){
     echo trim($laber);
}else{
    echo  "商品标签长度2 ~ 30个字";
}

echo "<br>";


echo "标签个数" . count(explode("，",$laber));

echo "<br>";

echo number_format($price,2,".",",")
?>


